-
Notifications
You must be signed in to change notification settings - Fork 794
[SYCL] Clear usesAssert required by fallback assert #20571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Conversation
Signed-off-by: jinge90 <[email protected]>
|
Hi, @steffenlarsen Thanks very much. |
@jinge90 - Thank you for testing this out! I expect it to be fine. If everything goes green, please feel free to remove the metadata. 🚀 |
Signed-off-by: jinge90 <[email protected]>
Signed-off-by: jinge90 <[email protected]>
|
|
||
| template <typename MultimapT, typename KeyT, typename ValT> | ||
| void removeFromMultimapByVal(MultimapT &Map, const KeyT &Key, const ValT &Val, | ||
| bool AssertContains = true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @sergey-semenov
We are working on removing all fallback assert related code in sycl-post-link and sycl runtime.
One thing to do is to clean up SYCL_ASSERT_USED meta data, I found you previous patch (https://github.com/intel/llvm/pull/19659/files#diff-78dd7f7ba0b6120dece1ae4ab5a09c9936ff654a1de2c31ff2dbb1fc58d90393R2123) added 'AssertContains' param in removeFromMultimapByVal function, could you help check whether we can remove it if we are going to remove assert metadata in sycl runtime? If "AssertContains" is only used for 'assert', we can remove it, otherwise I suggest to rename the param to somthing like "ExpSymbolContains".
Thanks very much.
Signed-off-by: jinge90 <[email protected]>
Signed-off-by: jinge90 <[email protected]>
|
Could you please also remove https://github.com/intel/llvm/blob/sycl/sycl/doc/design/PropertySets.md#syclassert-used? |
The 'usesAssert' seems to be used by fallback assert mechanism which has beem discarded, create this PR to trigger pre-ci to see if any problem pops up if we remove the code snippet.